package com.ai.dao.edu.cms.info;

import java.util.List;

import com.ai.model.edu.cms.info.InfoPublishObject;
import com.ai.model.edu.cms.info.vo.InfoPublishObjectVO;

public interface InfoPublishObjectMapper {
    /**
     * 根据主键查询记录
     */
    public List<InfoPublishObjectVO> findInfoPublishObjectByAppId(Long id);
    
    /**
     * 根据主键ID集合查询记录
     */
    public List<InfoPublishObjectVO> findInfoPublishObjectByAppIds(List<Long> ids);
    
    /**
     * 批量新增 obejct
     * @param list
     * @return
     */
    public void batchAddInfoPublishObejct(List<InfoPublishObject> list);
    
    /**
     * 根据发布申请id 删除 object
     * @param publishId
     */
    public void delInfoPublishObjectsByPublishId(Long publishId);
}